<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>扭曲</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        .outer {
            width: 200px;
            height: 200px;
            border: 2px solid black;
            margin: 0 auto;
            margin-top: 100px;
        }
        .inner {
            width: 200px;
            height: 200px;
            background-color: skyblue;
            /*skew 扭曲,X轴或者Y轴*/
            transform: skewX(0deg);
        }

    </style>
</head>
<body>
<div class="outer">
    <div class="inner">
        你好啊
    </div>
</div>

</body>
</html>